package vip.xiaonuo.bi.modular.dataset.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther: 顾育司
 * @Description
 * @date: 2024/1/16
 */
@Data
public class DataColumns implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 自增id */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "列名称")
    private String name;

    @ApiModelProperty(value = "列类型")
    private String type;

    @ApiModelProperty(value = "别名")
    private String alias;

    @ApiModelProperty(value = "表名")
    private String tableCol;

    @ApiModelProperty(value = "数据集id")
    private String datasetId;

    @ApiModelProperty(value = "分类：q指标 p维度")
    private String classify;

    @ApiModelProperty(value = "计算字段内容")
    private String calculate;

}
